-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix which repairs set_line_geodata if the net doesn't have geodata fo… #2123
fix which repairs set_line_geodata if the net doesn't have geodata fo… #2123
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #2123 +/- ##
============================================
+ Coverage 62.30% 79.44% +17.14%
============================================
Files 255 255
Lines 28062 27951 -111
============================================
+ Hits 17483 22205 +4722
+ Misses 10579 5746 -4833 ☔ View full report in Codecov by Sentry. |
please add a changelog mention |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add a mention in changelog
ignore_zero_length lead to assignment error in set_line_geodata_from_bus_geodata.
Feature/repaired set line geodata
the changelog has been adapted
…eature/repaired_set_line_geodata AND plotting_toolbox revision and testing
@vogt31337 @KS-HTK I fixed this PR. Can you please merge? |
…eature/repaired_set_line_geodata
…m/vogt31337/pandapower into feature/repaired_set_line_geodata
Hi,
currently if you have a somewhat broken grid, which doesn't have geodata for all lines, you can take this function and "create" line data from the connecting nodes. But if not all nodes are having geodata, this function breaks.
This fix will now calculate a mean replacement coordinate (if the user wants it) and sets this replacement into all nodes without geodata. Therefore the grid will have many lines connecting to the center, but It's better than nothing...
BR